<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>${SYSTEM_NAME}</title>
  <meta name="renderer" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
  <link rel="stylesheet" href="${pageContext.request.contextPath}/static/layuiadmin/layui/css/layui.css?v=${FILE_VERSION}" media="all">
  <link rel="stylesheet" href="${pageContext.request.contextPath}/static/layuiadmin/style/admin.css?v=${FILE_VERSION}" media="all">
  <link rel="stylesheet" href="${pageContext.request.contextPath}/static/css/admin.css?v=${FILE_VERSION}" media="all">
  <style>
    .layuiadmin-big-font{
      font-size:24px;color:#666;line-height:36px;padding:5px 0 10px;overflow:hidden;text-overflow:ellipsis;word-break:break-all;white-space:nowrap
    }

    /** 应用快捷块样式 */
    .console-app-group {
      display: block;
      padding: 16px;
      border-radius: 4px;
      text-align: center;
      background-color: #fff;
      cursor: pointer;
    }

    .console-app-group .console-app-icon {
      width: 32px;
      height: 32px;
      line-height: 32px;
      margin-bottom: 6px;
      display: inline-block;
      -webkit-box-sizing: border-box;
      -moz-box-sizing: border-box;
      box-sizing: border-box;
      font-size: 32px;
      color: #69c0ff;
    }

    .console-app-group:hover {
      box-shadow: 0 0 15px rgba(0, 0, 0, .08);
    }

    /** //应用快捷块样式 */

    /** 小组成员 */
    .console-user-group {
      position: relative;
      padding: 10px 0 10px 60px;
    }

    .console-user-group .console-user-group-head {
      width: 32px;
      height: 32px;
      position: absolute;
      top: 50%;
      left: 12px;
      margin-top: -16px;
      border-radius: 50%;
    }

    .console-user-group .layui-badge {
      position: absolute;
      top: 50%;
      right: 8px;
      margin-top: -10px;
    }

    .console-user-group .console-user-group-name {
      line-height: 1.2;
    }

    .console-user-group .console-user-group-desc {
      color: #8c8c8c;
      line-height: 1;
      font-size: 12px;
      margin-top: 5px;
    }

    /** 卡片轮播图样式 */
    .admin-carousel .layui-carousel-ind {
      position: absolute;
      top: -41px;
      text-align: right;
    }

    .admin-carousel .layui-carousel-ind ul {
      background: 0 0;
    }

    .admin-carousel .layui-carousel-ind li {
      background-color: #e2e2e2;
    }

    .admin-carousel .layui-carousel-ind li.layui-this {
      background-color: #999;
    }

    /** 广告位轮播图 */
    .admin-news .layui-carousel-ind {
      height: 45px;
    }

    .admin-news a {
      display: block;
      line-height: 70px;
      text-align: center;
    }

    /** 最新动态时间线 */
    .layui-timeline-dynamic .layui-timeline-item {
      padding-bottom: 0;
    }

    .layui-timeline-dynamic .layui-timeline-item:before {
      top: 16px;
    }

    .layui-timeline-dynamic .layui-timeline-axis {
      width: 9px;
      height: 9px;
      left: 1px;
      top: 7px;
      background-color: #cbd0db;
    }

    .layui-timeline-dynamic .layui-timeline-axis.active {
      background-color: #0c64eb;
      box-shadow: 0 0 0 2px rgba(12, 100, 235, .3);
    }

    .dynamic-card-body {
      box-sizing: border-box;
      overflow: hidden;
    }

    .dynamic-card-body:hover {
      overflow-y: auto;
      padding-right: 9px;
    }

    /** 优先级徽章 */
    .layui-badge-priority {
      border-radius: 50%;
      width: 20px;
      height: 20px;
      padding: 0;
      line-height: 18px;
      border-width: 2px;
      font-weight: 600;
    }

    .log-user-div{
      display: flex;
      justify-content: space-between;
    }
    .log-user-div div{
      width: 25%;
    }

    /** 统计快捷方式样式 */
    .console-link-block {
      font-size: 16px;
      padding: 20px 20px;
      border-radius: 4px;
      background-color: #40D4B0;
      color: #FFFFFF !important;
      box-shadow: 0 2px 3px rgba(0, 0, 0, .05);
      position: relative;
      overflow: hidden;
      display: block;
    }

    .console-link-block .console-link-block-num {
      font-size: 40px;
      margin-bottom: 5px;
      opacity: .9;
    }

    .console-link-block .console-link-block-text {
      opacity: .8;
    }

    .console-link-block .console-link-block-icon {
      position: absolute;
      top: 50%;
      right: 20px;
      width: 50px;
      height: 50px;
      font-size: 50px;
      line-height: 50px;
      margin-top: -25px;
      color: #FFFFFF;
      opacity: .8;
    }

    .console-link-block .console-link-block-band {
      color: #fff;
      width: 100px;
      font-size: 12px;
      padding: 2px 0 3px 0;
      background-color: #E32A16;
      line-height: inherit;
      text-align: center;
      position: absolute;
      top: 8px;
      right: -30px;
      transform-origin: center;
      transform: rotate(45deg) scale(.8);
      opacity: .95;
      z-index: 2;
    }

    /** //统计快捷方式样式 */

    /** 设置每个快捷块的颜色 */
    .layui-row > div:nth-child(2) .console-link-block {
      background-color: #55A5EA;
    }

    .layui-row > div:nth-child(3) .console-link-block {
      background-color: #FEAA4F;
    }

    .layui-row > div:nth-child(4) .console-link-block {
      background-color: #9BC539;
    }

  </style>
</head>
<body>

<div class="layui-fluid">
    <div class="layui-row layui-col-space15" style="padding: 10px 10px 20px 10px;">
      <div class="layui-card">
      <span class="layuiadmin-big-font">欢迎使用${SYSTEM_NAME}</span>
      </div>
    </div>
  <div class="layui-row layui-col-space15">
    <div class="layui-col-xs12 layui-col-sm6 layui-col-md3">
      <div class="console-link-block">
        <div class="console-link-block-num">${data.confirmCount}</div>
        <div class="console-link-block-text">待确认订单</div>
        <i class="console-link-block-icon layui-icon layui-icon-survey"></i>
        <div class="console-link-block-band">待确认</div>
      </div>
    </div>
    <div class="layui-col-xs12 layui-col-sm6 layui-col-md3">
      <div class="console-link-block">
        <div class="console-link-block-num">${data.jcCount}</div>
        <div class="console-link-block-text">待收样订单</div>
        <i class="console-link-block-icon layui-icon layui-icon-print"></i>
        <div class="console-link-block-band">待收样</div>
      </div>
    </div>

    <div class="layui-col-xs12 layui-col-sm6 layui-col-md3">
      <div class="console-link-block">
        <div class="console-link-block-num">${data.rpCount}</div>
        <div class="console-link-block-text">待寄送报告订单</div>
        <i class="console-link-block-icon layui-icon layui-icon-release"></i>
        <div class="console-link-block-band">待寄送</div>
      </div>
    </div>

    <div class="layui-col-xs12 layui-col-sm6 layui-col-md3">
      <div class="console-link-block">
        <div class="console-link-block-num">${data.ovCount}</div>
        <div class="console-link-block-text">已完成订单</div>
        <i class="console-link-block-icon layui-icon layui-icon-ok"></i>
        <div class="console-link-block-band">已完成</div>
      </div>
    </div>
  </div>
  <div class="layui-row layui-col-space15">

    <div class="layui-col-md12">
      <div class="layui-row layui-col-space15">
        <div class="layui-col-md4">
          <div class="layui-card">
            <div class="layui-card-header">系统导航</div>
            <div class="layui-card-body">
              <div class="layui-carousel layadmin-carousel layadmin-shortcut">
                <div carousel-item>
                  <ul class="layui-row layui-col-space10">
                    <li class="layui-col-xs3">
                      <a lay-href="/sys/configure/list">
                        <i class="layui-icon layui-icon-set"></i>
                        <cite>系统设置</cite>
                      </a>
                    </li>
                    <li class="layui-col-xs3">
                      <a lay-href="/sys/guide/list">
                        <i class="layui-icon layui-icon-picture-fine"></i>
                        <cite>引导页管理</cite>
                      </a>
                    </li>
                    <li class="layui-col-xs3">
                      <a lay-href="/sys/notice/list">
                        <i class="layui-icon layui-icon-speaker"></i>
                        <cite>系统公告</cite>
                      </a>
                    </li>
                    <li class="layui-col-xs3">
                      <a lay-href="/sys/version/list">
                        <i class="layui-icon layui-icon-app"></i>
                        <cite>版本管理</cite>
                      </a>
                    </li>
                    <li class="layui-col-xs3">
                      <a lay-href="/sys/file/manage">
                        <i class="layui-icon layui-icon-file-b"></i>
                        <cite>文件管理</cite>
                      </a>
                    </li>
                    <li class="layui-col-xs3">
                      <a lay-href="/sys/log/list">
                        <i class="layui-icon layui-icon-list"></i>
                        <cite>日志管理</cite>
                      </a>
                    </li>
                  </ul>
                </div>
              </div>
            </div>
          </div>
        </div>
        <div class="layui-col-md4">
          <div class="layui-card">
            <div class="layui-card-header">用户权限导航</div>
            <div class="layui-card-body">
              <div class="layui-carousel layadmin-carousel layadmin-shortcut">
                <div carousel-item>
                  <ul class="layui-row layui-col-space10">
                    <li class="layui-col-xs3">
                      <a lay-href="/sys/org/list">
                        <i class="layui-icon layui-icon-group"></i>
                        <cite>组织机构管理</cite>
                      </a>
                    </li>
                    <li class="layui-col-xs3">
                      <a lay-href="/sys/menu/list">
                        <i class="layui-icon layui-icon-menu-fill"></i>
                        <cite>菜单管理</cite>
                      </a>
                    </li>
                    <li class="layui-col-xs3">
                      <a lay-href="/sys/role/list">
                        <i class="layui-icon layui-icon-template-1"></i>
                        <cite>角色管理</cite>
                      </a>
                    </li>
                    <li class="layui-col-xs3">
                      <a lay-href="/sys/user/list">
                        <i class="layui-icon layui-icon-user"></i>
                        <cite>用户管理</cite>
                      </a>
                    </li>
                  </ul>
                </div>
              </div>
            </div>
          </div>
        </div>
        <div class="layui-col-md4">
          <div class="layui-card">
            <div class="layui-card-header">其他功能导航</div>
            <div class="layui-card-body">
              <div class="layui-carousel layadmin-carousel layadmin-shortcut">
                <div carousel-item>
                  <ul class="layui-row layui-col-space10">
                    <li class="layui-col-xs3">
                      <a lay-href="/sys/paramBasic/list">
                        <i class="layui-icon layui-icon-cols"></i>
                        <cite>基础参数大类</cite>
                      </a>
                    </li>
                    <li class="layui-col-xs3">
                      <a lay-href="/sys/paramBasicType/list">
                        <i class="layui-icon layui-icon-console"></i>
                        <cite>基础参数</cite>
                      </a>
                    </li>
                    <li class="layui-col-xs3">
                      <a lay-href="/sys/paramRegion/list">
                        <i class="layui-icon layui-icon-location"></i>
                        <cite>地域管理</cite>
                      </a>
                    </li>
                  </ul>
                </div>
              </div>
            </div>
          </div>
        </div>
        <div class="layui-col-md12">
          <div class="layui-card">
            <div class="layui-card-header">数据概览</div>
            <div class="layui-card-body">
              <div class="layui-carousel layadmin-carousel layadmin-dataview" data-anim="fade" lay-filter="LAY-index-dataview">
                <div carousel-item id="LAY-index-dataview">
                  <div><i class="layui-icon layui-icon-loading1 layadmin-loading"></i></div>
                  <div></div>
                  <div></div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>

  </div>

  <script src="${pageContext.request.contextPath}/static/js/common-2.0.0.js?v=${FILE_VERSION}"></script>
  <script src="${pageContext.request.contextPath}/static/layuiadmin/layui/layui.js?v=${FILE_VERSION}"></script>
  <script src="${pageContext.request.contextPath}/static/js/jquery-3.3.1.min.js?v=${FILE_VERSION}"></script>
  <script>
    layui.config({
      base: getContextPath() + '/static/layuiadmin/' //静态资源所在路径
    }).extend({
      index: 'lib/index' //主入口模块
    }).use(['element','carousel','index'], function() {
      var carousel = layui.carousel
      ,element = layui.element;
      //轮播切换
      $('.layadmin-carousel').each(function(){
        var othis = $(this);
        carousel.render({
          elem: this
          ,width: '100%'
          ,arrow: 'none'
          ,interval: othis.data('interval')
          ,autoplay: othis.data('autoplay') === true
          ,anim: othis.data('anim')
        });
      });

    });
  </script>
</body>
</html>

